<!doctype html>
<html>

<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<meta content="telephone=no" name="format-detection">
	<meta content="email=no" name="format-detection">
	<title>HTML5</title>

	<link rel="stylesheet" href="css/LArea.css">
	<script src="js/LAreaData.js" charset="utf-8"></script>
</head>

<body>
	<div>

		<div class="content-block">
			<input id="demo1" type="button" placeholder="城市选择特效" value="广东省,深圳市,南山区">
		</div>

	</div> -->
	</div>

	<script src="js/LArea.js"></script>
	<script>
		var area1 = new LArea();
		area1.init({
			'trigger': '#demo1',
			'keys': {
				id: 'id',
				name: 'n'
			},
			'type': 1, //数据源类型
			'data': LAreaData //数据源
		});
		area1.value = [0, 0, 0]; //控制初始位置，注意：该方法并不会影响到input的value
	</script>

</body>

</html>
